﻿using RayD.Core;

namespace RayD.Repository.Entites.SystemModule
{
    /// <summary>
    /// 字段配置
    /// </summary>
    public class FieldConfig
    {
        /// <summary>
        /// 字段
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 字段验证
        /// </summary>
        public FieldRule? FieldRule { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public FieldType? FieldType { get; set; }
        /// <summary>
        /// 字段统计性
        /// </summary>
        public FieldStatistical? FieldStatistical { get; set; }
        /// <summary>
        /// 是否配置到表单
        /// </summary>
        public bool ShowForm { get; set; }
        /// <summary>
        /// 是否配置到列表
        /// </summary>
        public bool ShowGrid { get; set; }
        /// <summary>
        /// 是否配置到条件查询
        /// </summary>
        public bool ShowQuery { get; set; }
    }
}
